<?php
$_ENV['webUrl'] ='http://www.bangzhaopin.com/app/pangpang_t';
$_ENV['imgUrl'] ='http://www.bangzhaopin.com/app/pangpang/image';
$_ENV['xiaoneiUrl'] = "http://apps.xiaonei.com/pangpang_t/";
$apiKey = "62fe47fecb3b45aea12ec8357f00d702";
$secret = "b986dc9423b14d47bacc8be211a66163";
#$apiKey = "9315fd5c1f124ce48055cc3989071f38";
#$secret = "d8ae66138da043049c8ffe213a14d549";
$sk = "";
$sk = $_REQUEST["xn_sig_session_key"];
$uid = $_REQUEST["xn_sig_user"];
$uname = "";
require_once "xmlHelper.php";
/*function getUserName(){
   $url = "http://api.xiaonei.com/restserver.do?format=JSON&api_key=".$apiKey
					."&method=xiaonei.users.getInfo&session_key=".$sk
					."&v=1.0&fields=name&uids=".$uid;
	$ch = curl_init();
	curl_setopt($ch, CURLOPT_URL, $url);
	curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
	$rt = curl_exec($ch);
	$xmlTemp = htmlspecialchars($rt);
	curl_close($ch);
	
	echo $rt;
    $xmlHelper = new XMLHelper($xmlTemp);
    $temop =  $xmlHelper->getXMLNodeValue("name");
}*/




	






